[INFO] cloning repository https://github.com/sheric98/rust-pokemon-battle-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sheric98/rust-pokemon-battle-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2Frust-pokemon-battle-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2Frust-pokemon-battle-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a45def7362960a53addab351ba4f2c82cc911b48
[INFO] fixing sheric98/rust-pokemon-battle-sim against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2Frust-pokemon-battle-sim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sheric98/rust-pokemon-battle-sim
[INFO] finished tweaking git repo https://github.com/sheric98/rust-pokemon-battle-sim
[INFO] tweaked toml for git repo https://github.com/sheric98/rust-pokemon-battle-sim written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sheric98/rust-pokemon-battle-sim on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sheric98/rust-pokemon-battle-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pyo3-macros v0.21.2
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.21.2
[INFO] [stderr]   Downloaded typed-builder-macro v0.23.2
[INFO] [stderr]   Downloaded enum-map-derive v0.17.0
[INFO] [stderr]   Downloaded typed-builder v0.23.2
[INFO] [stderr]   Downloaded enum-map v2.7.3
[INFO] [stderr]   Downloaded pyo3-build-config v0.21.2
[INFO] [stderr]   Downloaded pyo3-ffi v0.21.2
[INFO] [stderr]   Downloaded pyo3 v0.21.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09
[INFO] running `Command { std: "docker" "start" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pyo3-build-config v0.21.2
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling pyo3-ffi v0.21.2
[INFO] [stderr]    Compiling pyo3 v0.21.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pyo3-macros-backend v0.21.2
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling enum-map-derive v0.17.0
[INFO] [stderr]    Compiling typed-builder-macro v0.23.2
[INFO] [stderr]     Checking enum-map v2.7.3
[INFO] [stderr]     Checking typed-builder v0.23.2
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling pyo3-macros v0.21.2
[INFO] [stderr]     Checking pokemon_simple_env v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BeforeMoveEvent`, `CanApplyMoveEvent`, `DamageEvent`, `OnPriorityEvent`, `effectiveness`, `event_queue::EventQueue`, `poketype::PokeType`, `stat_enum::StatEnum`, and `util::damage_utils`
[INFO] [stdout]   --> src/battle/battle.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         pokemon::{pokemon::Pokemon, stat_enum::StatEnum},
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |         pokemove::{move_name::MoveName, move_target::MoveTarget},
[INFO] [stdout] 19 |         poketype::{effectiveness, poketype::PokeType},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         util::damage_utils,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         event_queue::EventQueue,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |         event_type::{BeforeMoveEvent, CanApplyMoveEvent, DamageEvent, Event, OnPriorityEvent},
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `query::Query` and `query_handler::QueryHandler`
[INFO] [stdout]  --> src/battle/battle_context.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     query::{query::Query, query_bus::QueryBus, query_handler::QueryHandler},
[INFO] [stdout]   |             ^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventQueue`, `pokemove::move_dex`, `poketype::PokeType`, `query_bus::QueryBus`, `self`, `self`, `self`, `self`, and `state::BattleState`
[INFO] [stdout]   --> src/battle/battle_engine.rs:6:35
[INFO] [stdout]    |
[INFO] [stdout]  6 |         pokemon_battle_instance::{self, PokemonBattleInstance},
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]  7 |         state::BattleState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |         pokemon::{self, boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |         poketype::{effectiveness, pokemon_typing::PokemonTyping, poketype::PokeType},
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     dex::{combined_handler::CombinedHandler, pokemove::move_dex},
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     event::{
[INFO] [stdout] 22 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 23 |         event_handler::EventHandler,
[INFO] [stdout] 24 |         event_queue::{self, EventQueue},
[INFO] [stdout]    |                       ^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |         query_bus::QueryBus,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/battle/battle_engine.rs:591:17
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let r = (100 - battle_context.battle_state.get_rand_num(16));
[INFO] [stdout]     |                 ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 591 -         let r = (100 - battle_context.battle_state.get_rand_num(16));
[INFO] [stdout] 591 +         let r = 100 - battle_context.battle_state.get_rand_num(16) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/battle/pokemon_battle_instance.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat_enum::StatEnum`
[INFO] [stdout]  --> src/battle/pokemon_battle_instance.rs:8:68
[INFO] [stdout]   |
[INFO] [stdout] 8 |         pokemon::{boostable_stat::BoostableStat, pokemon::Pokemon, stat_enum::StatEnum},
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/battle/state.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::pokemove::move_category::MoveCategory`
[INFO] [stdout]  --> src/battle/static_battle_handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::pokemove::move_category::MoveCategory,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `poketype::PokeType`
[INFO] [stdout]   --> src/core/pokemon/pokemon.rs:13:51
[INFO] [stdout]    |
[INFO] [stdout] 13 |         poketype::{pokemon_typing::PokemonTyping, poketype::PokeType},
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/core/pokemove/pokemove.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `event::event_handler::EventHandler`, `self`, and `stat_enum::StatEnum`
[INFO] [stdout]   --> src/core/pokemove/pokemove.rs:6:50
[INFO] [stdout]    |
[INFO] [stdout]  6 |         pokemon::{boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |         pokemove::{
[INFO] [stdout]  8 |             move_category::{self, MoveCategory},
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     event::event_handler::EventHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat_enum::StatEnum`
[INFO] [stdout]  --> src/core/pokemove/secondary_effect.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pokemon::{boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LazyLock`, `collections::HashMap`, and `rc::Rc`
[INFO] [stdout]  --> src/dex/ability/ability_handlers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     rc::Rc,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 4 |     sync::{Arc, LazyLock},
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumMap` and `enum_map`
[INFO] [stdout]  --> src/dex/ability/ability_handlers.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use enum_map::{EnumMap, enum_map};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ability_map`, `battle::state::BattleState`, and `event::event_handler::EventHandler`
[INFO] [stdout]   --> src/dex/ability/ability_handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ability_map,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 11 |     battle::state::BattleState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     event::event_handler::EventHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/dex/pokemove/move_dex.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::LazyLock};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventKind`, `self`, and `self`
[INFO] [stdout]   --> src/event/event_bus.rs:6:22
[INFO] [stdout]    |
[INFO] [stdout]  6 |         turn_state::{self, TurnState},
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |         event_type::{Event, EventKind},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 14 |     },
[INFO] [stdout] 15 |     query::{self, query_bus::QueryBus},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `move_name::MoveName`, `pokemon::pokemon::Pokemon`, and `pokemove::PokeMove`
[INFO] [stdout]  --> src/query/payload.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         pokemon::pokemon::Pokemon,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |         pokemove::{move_name::MoveName, pokemove::PokeMove},
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventKind`, `Event`, `event_handler_effect::EventHandlerEffect`, and `event_queue::EventQueue`
[INFO] [stdout]  --> src/query/query_bus.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         event_handler_effect::EventHandlerEffect,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |         event_queue::EventQueue,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |         event_type::{Event, EventKind},
[INFO] [stdout]   |                      ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BeforeMoveEvent`, `CanApplyMoveEvent`, `DamageEvent`, `OnPriorityEvent`, `effectiveness`, `event_queue::EventQueue`, `poketype::PokeType`, `stat_enum::StatEnum`, and `util::damage_utils`
[INFO] [stdout]   --> src/battle/battle.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         pokemon::{pokemon::Pokemon, stat_enum::StatEnum},
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |         pokemove::{move_name::MoveName, move_target::MoveTarget},
[INFO] [stdout] 19 |         poketype::{effectiveness, poketype::PokeType},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         util::damage_utils,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         event_queue::EventQueue,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |         event_type::{BeforeMoveEvent, CanApplyMoveEvent, DamageEvent, Event, OnPriorityEvent},
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `query::Query` and `query_handler::QueryHandler`
[INFO] [stdout]  --> src/battle/battle_context.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     query::{query::Query, query_bus::QueryBus, query_handler::QueryHandler},
[INFO] [stdout]   |             ^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventQueue`, `pokemove::move_dex`, `poketype::PokeType`, `query_bus::QueryBus`, `self`, `self`, `self`, `self`, and `state::BattleState`
[INFO] [stdout]   --> src/battle/battle_engine.rs:6:35
[INFO] [stdout]    |
[INFO] [stdout]  6 |         pokemon_battle_instance::{self, PokemonBattleInstance},
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout]  7 |         state::BattleState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |         pokemon::{self, boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |         poketype::{effectiveness, pokemon_typing::PokemonTyping, poketype::PokeType},
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     dex::{combined_handler::CombinedHandler, pokemove::move_dex},
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     event::{
[INFO] [stdout] 22 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 23 |         event_handler::EventHandler,
[INFO] [stdout] 24 |         event_queue::{self, EventQueue},
[INFO] [stdout]    |                       ^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |         query_bus::QueryBus,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/battle/battle_engine.rs:591:17
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let r = (100 - battle_context.battle_state.get_rand_num(16));
[INFO] [stdout]     |                 ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 591 -         let r = (100 - battle_context.battle_state.get_rand_num(16));
[INFO] [stdout] 591 +         let r = 100 - battle_context.battle_state.get_rand_num(16) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/battle/pokemon_battle_instance.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat_enum::StatEnum`
[INFO] [stdout]  --> src/battle/pokemon_battle_instance.rs:8:68
[INFO] [stdout]   |
[INFO] [stdout] 8 |         pokemon::{boostable_stat::BoostableStat, pokemon::Pokemon, stat_enum::StatEnum},
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/battle/state.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::pokemove::move_category::MoveCategory`
[INFO] [stdout]  --> src/battle/static_battle_handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::pokemove::move_category::MoveCategory,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `poketype::PokeType`
[INFO] [stdout]   --> src/core/pokemon/pokemon.rs:13:51
[INFO] [stdout]    |
[INFO] [stdout] 13 |         poketype::{pokemon_typing::PokemonTyping, poketype::PokeType},
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/core/pokemove/pokemove.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `event::event_handler::EventHandler`, `self`, and `stat_enum::StatEnum`
[INFO] [stdout]   --> src/core/pokemove/pokemove.rs:6:50
[INFO] [stdout]    |
[INFO] [stdout]  6 |         pokemon::{boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |         pokemove::{
[INFO] [stdout]  8 |             move_category::{self, MoveCategory},
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     event::event_handler::EventHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat_enum::StatEnum`
[INFO] [stdout]  --> src/core/pokemove/secondary_effect.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pokemon::{boostable_stat::BoostableStat, stat_enum::StatEnum},
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LazyLock`, `collections::HashMap`, and `rc::Rc`
[INFO] [stdout]  --> src/dex/ability/ability_handlers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     rc::Rc,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 4 |     sync::{Arc, LazyLock},
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumMap` and `enum_map`
[INFO] [stdout]  --> src/dex/ability/ability_handlers.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use enum_map::{EnumMap, enum_map};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ability_map`, `battle::state::BattleState`, and `event::event_handler::EventHandler`
[INFO] [stdout]   --> src/dex/ability/ability_handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ability_map,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 11 |     battle::state::BattleState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     event::event_handler::EventHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/dex/pokemove/move_dex.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::LazyLock};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventKind`, `self`, and `self`
[INFO] [stdout]   --> src/event/event_bus.rs:6:22
[INFO] [stdout]    |
[INFO] [stdout]  6 |         turn_state::{self, TurnState},
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |         event_type::{Event, EventKind},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 14 |     },
[INFO] [stdout] 15 |     query::{self, query_bus::QueryBus},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `move_name::MoveName`, `pokemon::pokemon::Pokemon`, and `pokemove::PokeMove`
[INFO] [stdout]  --> src/query/payload.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         pokemon::pokemon::Pokemon,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |         pokemove::{move_name::MoveName, pokemove::PokeMove},
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventKind`, `Event`, `event_handler_effect::EventHandlerEffect`, and `event_queue::EventQueue`
[INFO] [stdout]  --> src/query/query_bus.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         event_handler_effect::EventHandlerEffect,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |         event_queue::EventQueue,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |         event_type::{Event, EventKind},
[INFO] [stdout]   |                      ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |         Self { sim: Battle::new() }
[INFO] [stdout]    |                     ^^^^^^^^^^^-- two arguments of type `Vec<Pokemon>` and `Vec<Pokemon>` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/battle/battle.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn new(trainer_1_mons: Vec<Pokemon>, trainer_2_mons: Vec<Pokemon>) -> Self {
[INFO] [stdout]    |            ^^^ ----------------------------  ----------------------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 22 |         Self { sim: Battle::new(/* Vec<Pokemon> */, /* Vec<Pokemon> */) }
[INFO] [stdout]    |                                 ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `pyo3::types::PyDict::new`: `PyDict::new` will be replaced by `PyDict::new_bound` in a future PyO3 version
[INFO] [stdout]   --> src/lib.rs:28:24
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let dict = PyDict::new(py);
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn pokemon_env(_py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `event_handler::EventHandler`
[INFO] [stdout]  --> src/query/query_bus.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         event_handler::EventHandler,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/battle/battle.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut event_bus = EventBus::new();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot1`
[INFO] [stdout]   --> src/battle/battle.rs:74:46
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot1`
[INFO] [stdout]    |
[INFO] [stdout] 74 -             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 74 +             (Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(_slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot2`
[INFO] [stdout]   --> src/battle/battle.rs:74:87
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot2`
[INFO] [stdout]    |
[INFO] [stdout] 74 -             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 74 +             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(_slot2))) => {
[INFO] [stdout]    |                                                                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot1`
[INFO] [stdout]   --> src/battle/battle.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |             (Some(SingleInput::SwitchInInput(slot1)), None) => {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot1`
[INFO] [stdout]    |
[INFO] [stdout] 77 -             (Some(SingleInput::SwitchInInput(slot1)), None) => {
[INFO] [stdout] 77 +             (Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot1)), None) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 77 |             (Some(SingleInput::SwitchInInput(_slot1)), None) => {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot2`
[INFO] [stdout]   --> src/battle/battle.rs:80:52
[INFO] [stdout]    |
[INFO] [stdout] 80 |             (None, Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot2`
[INFO] [stdout]    |
[INFO] [stdout] 80 -             (None, Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 80 +             (None, Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 80 |             (None, Some(SingleInput::SwitchInInput(_slot2))) => {
[INFO] [stdout]    |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `turn_state`
[INFO] [stdout]    --> src/battle/battle_engine.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         turn_state: &mut TurnState,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turn_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `turn_state`
[INFO] [stdout]    --> src/battle/battle_engine.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |         turn_state: &mut TurnState,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turn_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_idx`
[INFO] [stdout]    --> src/battle/battle_engine.rs:770:78
[INFO] [stdout]     |
[INFO] [stdout] 770 |     fn switch_out_pokemon(battle_context: &mut BattleContext, trainer: bool, switch_idx: usize) {
[INFO] [stdout]     |                                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |         Self { sim: Battle::new() }
[INFO] [stdout]    |                     ^^^^^^^^^^^-- two arguments of type `Vec<Pokemon>` and `Vec<Pokemon>` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/battle/battle.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn new(trainer_1_mons: Vec<Pokemon>, trainer_2_mons: Vec<Pokemon>) -> Self {
[INFO] [stdout]    |            ^^^ ----------------------------  ----------------------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 22 |         Self { sim: Battle::new(/* Vec<Pokemon> */, /* Vec<Pokemon> */) }
[INFO] [stdout]    |                                 ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `pyo3::types::PyDict::new`: `PyDict::new` will be replaced by `PyDict::new_bound` in a future PyO3 version
[INFO] [stdout]   --> src/lib.rs:28:24
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let dict = PyDict::new(py);
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::<T>::function_arg`: use `&Bound<'_, T>` instead for this function argument
[INFO] [stdout]   --> src/lib.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn pokemon_env(_py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `event_handler::EventHandler`
[INFO] [stdout]  --> src/query/query_bus.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         event_handler::EventHandler,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/battle/battle.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut event_bus = EventBus::new();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot1`
[INFO] [stdout]   --> src/battle/battle.rs:74:46
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot1`
[INFO] [stdout]    |
[INFO] [stdout] 74 -             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 74 +             (Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(_slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot2`
[INFO] [stdout]   --> src/battle/battle.rs:74:87
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot2`
[INFO] [stdout]    |
[INFO] [stdout] 74 -             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 74 +             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (Some(SingleInput::SwitchInInput(slot1)), Some(SingleInput::SwitchInInput(_slot2))) => {
[INFO] [stdout]    |                                                                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot1`
[INFO] [stdout]   --> src/battle/battle.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |             (Some(SingleInput::SwitchInInput(slot1)), None) => {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot1`
[INFO] [stdout]    |
[INFO] [stdout] 77 -             (Some(SingleInput::SwitchInInput(slot1)), None) => {
[INFO] [stdout] 77 +             (Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot1)), None) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 77 |             (Some(SingleInput::SwitchInInput(_slot1)), None) => {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slot2`
[INFO] [stdout]   --> src/battle/battle.rs:80:52
[INFO] [stdout]    |
[INFO] [stdout] 80 |             (None, Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Slot2`
[INFO] [stdout]    |
[INFO] [stdout] 80 -             (None, Some(SingleInput::SwitchInInput(slot2))) => {
[INFO] [stdout] 80 +             (None, Some(SingleInput::SwitchInInput(battle::actions::SwitchSlot::Slot2))) => {
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 80 |             (None, Some(SingleInput::SwitchInInput(_slot2))) => {
[INFO] [stdout]    |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `turn_state`
[INFO] [stdout]    --> src/battle/battle_engine.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         turn_state: &mut TurnState,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turn_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `turn_state`
[INFO] [stdout]    --> src/battle/battle_engine.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |         turn_state: &mut TurnState,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turn_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_idx`
[INFO] [stdout]    --> src/battle/battle_engine.rs:770:78
[INFO] [stdout]     |
[INFO] [stdout] 770 |     fn switch_out_pokemon(battle_context: &mut BattleContext, trainer: bool, switch_idx: usize) {
[INFO] [stdout]     |                                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/dex/dex_macros.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                   let $self = self;
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/dex/status/status_handlers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / handler!(BurnHandler ( s, state ) {
[INFO] [stdout] 13 | |     events {
[INFO] [stdout] 14 | |         OnTurnEnd(trainer) => {
[INFO] [stdout] 15 | |             if *trainer != s.trainer_side {
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout] help: `s` is captured in macro and introduced a unused variable
[INFO] [stdout]   --> src/dex/dex_macros.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                   let $self = self;
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/dex/status/status_handlers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / handler!(BurnHandler ( s, state ) {
[INFO] [stdout] 13 | |     events {
[INFO] [stdout] 14 | |         OnTurnEnd(trainer) => {
[INFO] [stdout] 15 | |             if *trainer != s.trainer_side {
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    = note: this warning originates in the macro `handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_pokemon`
[INFO] [stdout]   --> src/dex/status/status_handlers.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let src_pokemon = &state.get_active_pokemon(src_trainer).pokemon;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_pokemon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/dex/status/volatile_status_handlers.rs:67:29
[INFO] [stdout]    |
[INFO] [stdout] 67 | handler!(FlinchHandler ( s, state ) {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon_simple_env` (lib) due to 1 previous error; 33 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/dex/dex_macros.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                   let $self = self;
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/dex/status/status_handlers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / handler!(BurnHandler ( s, state ) {
[INFO] [stdout] 13 | |     events {
[INFO] [stdout] 14 | |         OnTurnEnd(trainer) => {
[INFO] [stdout] 15 | |             if *trainer != s.trainer_side {
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout] help: `s` is captured in macro and introduced a unused variable
[INFO] [stdout]   --> src/dex/dex_macros.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                   let $self = self;
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/dex/status/status_handlers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / handler!(BurnHandler ( s, state ) {
[INFO] [stdout] 13 | |     events {
[INFO] [stdout] 14 | |         OnTurnEnd(trainer) => {
[INFO] [stdout] 15 | |             if *trainer != s.trainer_side {
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | | });
[INFO] [stdout]    | |__- in this macro invocation
[INFO] [stdout]    = note: this warning originates in the macro `handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_pokemon`
[INFO] [stdout]   --> src/dex/status/status_handlers.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let src_pokemon = &state.get_active_pokemon(src_trainer).pokemon;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_pokemon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/dex/status/volatile_status_handlers.rs:67:29
[INFO] [stdout]    |
[INFO] [stdout] 67 | handler!(FlinchHandler ( s, state ) {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon_simple_env` (lib test) due to 1 previous error; 33 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09", kill_on_drop: false }`
[INFO] [stdout] 68703b1e65ebe9f62e15066776dc76863031d0b3915ad0cae5444903f9ca9d09
